CVE-2026-35386
OpenSSH Shell Injection Vulnerability
Description
In OpenSSH before 10.3, command execution can occur via shell metacharacters in a username within a command line. This requires a scenario where the username on the command line is untrusted, and also requires a non-default configurations of % in ssh_config.
INFO
Published Date :
April 2, 2026, 5:16 p.m.
Last Modified :
April 3, 2026, 4:10 p.m.
Remotely Exploit :
No
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | LOW | 8254265b-2729-46b6-b9e3-3dfca2d5bfca | ||||
| CVSS 3.1 | LOW | [email protected] |
Solution
- Update OpenSSH to version 10.3 or later.
- Ensure username input is properly sanitized.
- Review and secure ssh_config settings.
Public PoC/Exploit Available at Github
CVE-2026-35386 has a 1 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-35386.
| URL | Resource |
|---|---|
| https://marc.info/?l=openssh-unix-dev&m=177513443901484&w=2 | |
| https://www.openssh.org/releasenotes.html#10.3p1 | |
| https://www.openwall.com/lists/oss-security/2026/04/02/3 |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-35386 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-35386
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
macOS vulnerability check script - detects 23 recent supply chain attacks and CVEs (Jan-Apr 2026)
Shell
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-35386 vulnerability anywhere in the article.
-
Daily CyberSecurity
Linux Privilege Escalation: “Pack2TheRoot” Flaw Impacts Major Distributions
A long-standing security flaw has been unearthed in a core component of the modern Linux desktop and server ecosystem. Known as Pack2TheRoot, this critical vulnerability resides in PackageKit, a D-Bus ... Read more
-
Daily CyberSecurity
Breaking the Input: Sandbox Escape Hits libinput, Exposing Leading Linux Desktops
The core of modern Linux input handling is facing a significant security challenge. libinput, the essential library that manages everything from mouse clicks to touchpad gestures for display servers, ... Read more
-
Daily CyberSecurity
OpenSSH 10.3 Patches Command Execution and “scp” Privilege Escalation
In the critical infrastructure of the internet, OpenSSH stands as one of the most vital gatekeepers for secure remote access. However, even the most trusted tools require constant refinement. A series ... Read more
The following table lists the changes that have been made to the
CVE-2026-35386 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by [email protected]
Apr. 02, 2026
Action Type Old Value New Value Added Description In OpenSSH before 10.3, command execution can occur via shell metacharacters in a username within a command line. This requires a scenario where the username on the command line is untrusted, and also requires a non-default configurations of % in ssh_config. Added CVSS V3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N Added CWE CWE-696 Added Reference https://marc.info/?l=openssh-unix-dev&m=177513443901484&w=2 Added Reference https://www.openssh.org/releasenotes.html#10.3p1 Added Reference https://www.openwall.com/lists/oss-security/2026/04/02/3